package com.lu.springbootinit.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lu.springbootinit.model.dto.mockinteriiew.MockInterviewAddRequest;
import com.lu.springbootinit.model.dto.mockinteriiew.MockInterviewEventRequest;
import com.lu.springbootinit.model.dto.mockinteriiew.MockInterviewQueryRequest;
import com.lu.springbootinit.model.entity.MockInterview;
import com.lu.springbootinit.model.entity.User;

/**
* @author Lu
* @description 针对表【mock_interview(模拟面试)】的数据库操作Service
* @createDate 2025-03-03 09:45:46
*/
public interface MockInterviewService extends IService<MockInterview> {

    /**
     * 创建模拟面试
      */
    long createMockInterview(MockInterviewAddRequest mockInterviewAddRequest, User loginUser);

    /**
     * 查询模拟面试数据
     * @param mockInterviewQueryRequest
     * @return
     */
    Wrapper<MockInterview> getQueryWrapper(MockInterviewQueryRequest mockInterviewQueryRequest);

    /**
     * 处理模拟面试事件
     * @param mockInterviewEventRequest
     * @return ai 响应的事件
     */
    public String handleMockInterviewEvent(MockInterviewEventRequest mockInterviewEventRequest,User loginUser);

}
